Skip to content

Harden artifact comments/ratings endpoints (IP limits + body caps) - #33

Merged
itskai-dev merged 2 commits into
mainfrom
link/harden-artifact-comments-ratings
Feb 7, 2026
Merged

Harden artifact comments/ratings endpoints (IP limits + body caps)#33
itskai-dev merged 2 commits into
mainfrom
link/harden-artifact-comments-ratings

Conversation

@itskai-dev

Copy link
Copy Markdown
Collaborator

Hardens two artifact feedback write endpoints:

  • Add IP-based rate limiting via lib/requestLimits helpers
  • Enforce request body caps (JSON/text) returning 413
  • Update tests (incl. 413 case) and baseline removal

Endpoints:

  • POST /api/artifacts/[id]/comments
  • POST /api/artifacts/[id]/ratings

@vercel

vercel Bot commented Feb 7, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agent-hub Ready Ready Preview, Comment Feb 7, 2026 1:29am

Request Review

@supabase

supabase Bot commented Feb 7, 2026

Copy link
Copy Markdown

This pull request has been ignored for the connected project oldbapagtyvkplbqllwa because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@itskai-dev
itskai-dev merged commit 0ff63df into main Feb 7, 2026
4 checks passed
@itskai-dev
itskai-dev deleted the link/harden-artifact-comments-ratings branch February 7, 2026 02:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant